new Vue({
    el: "#app",
    data:{
        message:'Hello World',
        link: 'http://grafikart.fr',
        success:true,
        persons:['John', 'Tom', 'Tony','Jean'],
        color: '#787878',
        style:{
            backgroundColor:'yellow'
        },
        cls: 'success'

    },
    methods:{
        close: function () {
            this.success = false;
            this.message = 'final text';
        },
        style: function () {
            if (this.success) {
                return { backgroundColor: "blue" }
            } else {
                return { backgroundColor: "green" }
            }
        }
    }

});